Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / FontWriter Class / CffGlyphsAndCharsToArray Method / CffGlyphsAndCharsToArray(Font,HashSet<UInt16>,Utf32CodeSet) Method
The Font object with PostScript outlines stored in the CFF format.
Glyph indices to be added to the resulting table subset.
A set of UTF-32 characters to be supported in the resulting table subset.

In This Topic
    CffGlyphsAndCharsToArray(Font,HashSet<UInt16>,Utf32CodeSet) Method
    In This Topic
    Creates a subset of the CFF font table containing both the specified glyphs and UTF-32 characters, then serializes the subset to a byte array.
    Syntax
    'Declaration
     
    Public Overloads Function CffGlyphsAndCharsToArray( _
       ByVal font As Font, _
       ByVal glyphIDs As System.Collections.Generic.HashSet(Of UShort), _
       ByVal utf32CodeSet As Utf32CodeSet _
    ) As System.Byte()
    public System.byte[] CffGlyphsAndCharsToArray( 
       Font font,
       System.Collections.Generic.HashSet<ushort> glyphIDs,
       Utf32CodeSet utf32CodeSet
    )

    Parameters

    font
    The Font object with PostScript outlines stored in the CFF format.
    glyphIDs
    Glyph indices to be added to the resulting table subset.
    utf32CodeSet
    A set of UTF-32 characters to be supported in the resulting table subset.

    Return Value

    Binary data with the resulting CFF font table.
    See Also